home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML Construction Kit / Dynamic HTML Construction Kit.iso / source_code / dhtmlunl / dhtml.exe / CD Content / Chap26 / dun26_11.txt < prev    next >
Encoding:
Text File  |  1997-12-18  |  843 b   |  23 lines

  1. function displayPage() {
  2.  
  3.     pageObj.left = 10;
  4.  
  5.     pageObj.top = 10;
  6.  
  7. if(nav == "ns4") {
  8.  
  9.         document.pageLyr.document.open();
  10.  
  11.         document.pageLyr.document.write(parent.SNEAK.message);
  12.  
  13.         document.pageLyr.document.close();
  14.  
  15.         pageObj.clip.top = 0;
  16.  
  17.         pageObj.clip.right = (screen_width-205);
  18.  
  19.         pageObj.clip.bottom = (screen_height-90);
  20.  
  21.         pageObj.clip.left = 0;
  22.  
  23.     } else {
  24.  
  25.         var cTop = 0;
  26.  
  27.         var cRight = screen_width-205;
  28.  
  29.         var cBottom = screen_height-90;
  30.  
  31.         var cLeft = 0;
  32.  
  33.         document.all.pageLyr.innerHTML = parent.SNEAK.message;
  34.  
  35.         pageObj.clip = "rect(" + cTop + " " + cRight + " " + cBottom + " " + cLeft + ")";
  36.  
  37.     }
  38.  
  39.     titleImg.title_img.src = parent.SNEAK.title;
  40.  
  41.     submenuImg.submenu_img.src = parent.SNEAK.submenu;
  42.  
  43. }
  44.  
  45.